<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>数组转字符串</title>
  <script>
    // 14.  将数组用 | 或其他符号连接成一个字符串。
    function work14(x, y) {
      //join方法转字符串
      return x.join(y);
    }
    console.log(work14([1, 3, 5, 6, 7, 4, 2, 3], '*'));
  </script>
</head>

<body>

</body>

</html>